/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-11-09
 * Time: 22:35
 */
public class Switch {
    public static void main(String[] args) {
        char a = 'A';
        int b = 10;
        switch (a) {
            case '1':
                System.out.println(1);
                System.out.println(22);
                break;
            case 65:
                System.out.println(2);
                break;
            case 'q':
                System.out.println(3);
                break;
            default:
                System.out.println(4);
                System.out.println(5);
        }
        int n = 1;
        while (n <= 10) {
            System.out.print(n + " ");
            n++;
        }
        System.out.println();
        int num = 100;
        while (n <= 200) {
            if (num % 3 == 0) {
                System.out.println(num);
                break;
            }
            num++;
        }
        n=100;
        while (n<=200){
            if (n%3==0){
                System.out.println(n);
                n++;
                continue;
            }
            n++;
        }
    }
}
